home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / AvailabilityCheckResult.sox < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  1.8 KB  |  59 lines  |  [TEXT/ttxt]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0">
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14. <!-- 
  15.     AvailabilityCheckResult is the response to AvailabilityCheck 
  16.     Returns the available quantity for a list of order items, under a single
  17.     account, offered by a single supplier. 
  18.  -->
  19.  
  20. <elementtype name="AvailabilityResultItem">
  21.     <model>
  22.         <sequence>
  23.             <!--  An item:  NaturalKey, quantity -->
  24.             <element type="BaseItemDetail"     name="QuotedItem" />
  25.  
  26.             <!--  the resulting quantity  -->
  27.             <element type="Quantity"        name="AvailableQuantity" />
  28.             
  29.             <!--  if filled then there is a business error -->
  30.             <element type="ErrorInfo" name="AvailabilityErrorInfo" occurs="?" />
  31.         </sequence>
  32.     </model>
  33. </elementtype>
  34.  
  35. <!--  container for AvailabilityResultItem  -->
  36. <elementtype name="ListOfAvailabilityResultItem">
  37.     <model>
  38.         <element type="AvailabilityResultItem" occurs="+" />
  39.     </model>
  40. </elementtype>
  41.  
  42. <elementtype name="AvailabilityCheckResult">
  43.     <model>
  44.         <sequence>
  45.             <element type="AvailabilityCheckHeader"/>
  46.  
  47.             <!--  The available quantity for all order items  -->
  48.             <!--  The ordering of items returned is guaranteed to match the ordering  -->
  49.             <!--  of items in the AvailabilityCheckRequest.  -->
  50.             <element type="ListOfAvailabilityResultItem"  occurs="?" />
  51.  
  52.             <element type="AvailabilityCheckSummary" />
  53.         </sequence>
  54.     </model>
  55.  
  56. </elementtype>
  57.  
  58. </schema>
  59.